package a.j.a;

import a.c.q;

import javax.swing.*;
import javax.swing.tree.DefaultTreeCellRenderer;
import javax.swing.tree.TreeCellRenderer;
import java.awt.*;

public class k
  implements TreeCellRenderer
{
  private TreeCellRenderer a;
  private Object c;
  public static boolean d;
  
  public k()
  {
    this(new DefaultTreeCellRenderer());
  }
  
  public k(TreeCellRenderer paramTreeCellRenderer)
  {
    this.a = paramTreeCellRenderer;
    this.c = "Root";
  }
  
  public Object a()
  {
    return this.c;
  }
  
  public void a(Object paramObject)
  {
    this.c = paramObject;
  }
  
  public Component getTreeCellRendererComponent(JTree paramJTree, Object paramObject, boolean paramBoolean1, boolean paramBoolean2, boolean paramBoolean3, int paramInt, boolean paramBoolean4)
  {
    if ((j.v != 0) || ((paramObject instanceof q))) {
      paramObject = this.c;
    }
    return this.a.getTreeCellRendererComponent(paramJTree, paramObject, paramBoolean1, paramBoolean2, paramBoolean3, paramInt, paramBoolean4);
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.a.k

 * JD-Core Version:    0.7.0.1

 */